package com.yn.common.response.zyorder;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yn.common.request.zyorder.ZyOrderServiceRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 转运订单
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="转运订单报价返回对象", description="转运订单报价")
public class ZyOrderQuoteResponse {

    //转运路程距离(米)
    @ApiModelProperty(value = "转运路程距离(转换为Km)")
    private Double transferDistance;


    @ApiModelProperty(value = "服务项")
    private List<ZyOrderServiceResponse> zyOrderServiceResponses;

    @ApiModelProperty(value = "转运费用")
    private  ZyOrderServiceResponse zyOrderServiceResponse;

    @ApiModelProperty(value = "服务费用(元)")
    private BigDecimal  allServiceCost;

    @ApiModelProperty(value = "订单总金额(元)")
    private BigDecimal orderAllPrice;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal orderPayPrice;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal couponPrice;

    private String  zyOrderNo;


}
